//
//  MarketFinance2Cell3.m
//  ceShi12
//
//  Created by RT on 2025/6/25.
//

#import "MarketFinance2Cell3.h"

@implementation MarketFinance2Cell3
-(instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        [self lable];
        self.backgroundColor = UIColor.redColor;

    }
    
    return self;
}
-(UILabel *)lable{
    
    if(!_lable){
        _lable = [[UILabel alloc]initWithFrame:CGRectMake(2, 0, CGRectGetWidth(self.contentView.frame)-4, CGRectGetHeight(self.contentView.frame))];
        
        [self.contentView addSubview:_lable];
    }
    return _lable;
}
-(void)setName:(NSString *)name{
    _name = name;
    
    _lable.text = name;
    
    _lable.textColor = UIColor.blackColor;
    
    
    
}

@end
